﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterPage.Master"
    Codebehind="Cost_Modify.aspx.cs" Inherits="WebUI.Cost.Cost_Modify" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:GridView ID="grvCarriersbyCost" runat="server" AutoGenerateColumns="False">
        <Columns>
            <asp:BoundField HeaderText="承运编号" />
            <asp:BoundField HeaderText="承运车队" />
            <asp:BoundField HeaderText="承运车辆" />
        </Columns>
    </asp:GridView>
    <br />
    <table>
        <tr>
            <td style="width: 106px">
                <asp:Label ID="lbCarriersSNLab" runat="server" Text="运单编号："></asp:Label></td>
            <td style="width: 101px">
                <asp:TextBox ID="txtCarriersSN" runat="server" ForeColor="#404040"></asp:TextBox></td>
               <td style=" text-align:left;"><asp:RegularExpressionValidator
                    ID="REValidatorCarriersSN" runat="server" ControlToValidate="txtCarriersSN" ErrorMessage="*"
                    ValidationExpression="\d*">对不起！你输入的不是数字...</asp:RegularExpressionValidator>
                <asp:RequiredFieldValidator ID="RFValidatorCarriersSN" runat="server" ControlToValidate="txtCarriersSN"
                    ErrorMessage="*">对不起！此项不能为空...</asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td style="width: 106px">
                <asp:Label ID="lblBudgetaryPrice" runat="server" Text="预估费用："></asp:Label></td>
            <td style="width: 101px">
                <asp:TextBox ID="txtBudgetaryPrice" runat="server" ForeColor="#404040"></asp:TextBox>
                
            </td>
            <td style=" text-align:left;"><asp:RequiredFieldValidator ID="RFValidatorBudgetaryPrice" runat="server" ControlToValidate="txtBudgetaryPrice"
                    ErrorMessage="*">对不起！此项不能为空...</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="REValidatorBudgetaryPrice" runat="server" ControlToValidate="txtBudgetaryPrice"
                    ErrorMessage="*" ValidationExpression="^[0-9]+(.[0-9]{1,4})?$">对不起！你输入的不数字...</asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td style="width: 106px">
                成本费用：</td>
            <td style="width: 101px">
                <asp:TextBox ID="txtCostPrice" runat="server" ForeColor="#404040"></asp:TextBox>
             </td>
            <td style=" text-align:left;">   <asp:RequiredFieldValidator ID="RFValidatorCostPrice" runat="server" ControlToValidate="txtCostPrice"
                    ErrorMessage="*">对不起！此项不能为空...</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="REValidatorCostPrice" runat="server" ControlToValidate="txtCostPrice"
                    ErrorMessage="*" ValidationExpression="^[0-9]+(.[0-9]{1,4})?$">对不起！你输入的不数字...</asp:RegularExpressionValidator></td>
        </tr>
        <tr>
            <td style="width: 106px">
                加急费用：</td>
            <td style="width: 101px">
                <asp:TextBox ID="txtUrgentPrice" runat="server" ForeColor="#404040"></asp:TextBox>
                </td>
                <td style=" text-align:left;"><asp:RequiredFieldValidator ID="RFValidatorUrgentPrice" runat="server" ControlToValidate="txtUrgentPrice"
                    ErrorMessage="*">对不起！此项不能为空...</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="REValidatorUrgentPrice" runat="server" ControlToValidate="txtUrgentPrice"
                    ErrorMessage="*" ValidationExpression="^[0-9]+(.[0-9]{1,4})?$">对不起！你输入的不数字...</asp:RegularExpressionValidator></td>    
        </tr>
                <tr>
            <td style="width: 106px">
                保险费用：</td>
            <td style="width: 101px">
                <asp:TextBox ID="txtInsurance" runat="server" ForeColor="#404040"></asp:TextBox>
                </td>
                      <td style=" text-align:left;"><asp:RequiredFieldValidator ID="RFValidatorInsurance" runat="server" ControlToValidate="txtInsurance"
                    ErrorMessage="*">对不起！此项不能为空...</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="REValidatorInsurance" runat="server" ControlToValidate="txtInsurance"
                    ErrorMessage="*" ValidationExpression="\d*">对不起！你输入的不数字...</asp:RegularExpressionValidator></td> 
        </tr>
        <tr>
            <td style="width: 106px; height: 21px">
                额外费用：</td>
            <td style="width: 101px; height: 21px">
                <asp:TextBox ID="txtIncidentalExpenses" runat="server" ForeColor="#404040"></asp:TextBox>
                </td>
                   <td style=" text-align:left;"><asp:RequiredFieldValidator ID="RFValidatorIncidentalExpenses" runat="server" ControlToValidate="txtIncidentalExpenses"
                    ErrorMessage="*">对不起！此项不能为空...</asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="REValidatorIncidentalExpenses" runat="server"
                    ControlToValidate="txtIncidentalExpenses" ErrorMessage="*" ValidationExpression="^[0-9]+(.[0-9]{1,4})?$">对不起！你输入的不数字...</asp:RegularExpressionValidator></td> 
        </tr>
        <tr>
            <td style="width: 106px">
                备注：</td>
            <td style="width: 101px">
                <asp:TextBox ID="txtNode" runat="server" TextMode="MultiLine" ForeColor="#404040"></asp:TextBox>
            </td>
               
                  <td style=" text-align:left;"> <asp:RequiredFieldValidator ID="RFValidatorNode" runat="server" ControlToValidate="txtNode"
                    ErrorMessage="*">对不起！此项不能为空...</asp:RequiredFieldValidator></td>     
        </tr>
        <tr>
            <td style="width: 106px; height: 23px;">
                成本状态：</td>
            <td style="width: 101px; text-align: left; height: 23px;">
                <asp:DropDownList ID="ddrCarriersState" runat="server" ForeColor="#404040">
                    <asp:ListItem>财务已审核</asp:ListItem>
                    <asp:ListItem>财务退回</asp:ListItem>
                </asp:DropDownList></td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Button ID="btnModify" runat="server" OnClick="btnModify_Click" Text="保存" ForeColor="#404040" />
                <asp:Button ID="btnReset" runat="server" OnClick="btnReset_Click" Text="重置" ForeColor="#404040" /></td>
        </tr>
    </table>
</asp:Content>


